/**
 * 
 */
package com.pmsco.pms.core.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author Long Tran
 *
 */
@Entity
@Table(
	name = "PMS_SYS_INFORMATION"
)
public class PmsSysInformation {
	private Long id;
	private String sysEmailUser;
	private String sysEmailPassword;
	private String sysEmailAuth;
	private String sysEmailTlsEnable;
	private String sysEmailHost;
	private Integer sysEmailPort;
	private Integer sysEncodeType;
	private String sysLogLevel;
	
	/**
	 * @return the id
	 */
	@Id
	@GeneratedValue
	@Column(name = "ID", nullable = false)
	public Long getId() {
		return id;
	}
	
	/**
	 * @param id the id to set
	 */
	public void setId(Long id) {
		this.id = id;
	}
	
	/**
	 * @return the sysEmailUser
	 */
	@Column(name = "SYS_EMAIL_USER", nullable = false)
	public String getSysEmailUser() {
		return sysEmailUser;
	}
	
	/**
	 * @param sysEmailUser the sysEmailUser to set
	 */
	public void setSysEmailUser(String sysEmailUser) {
		this.sysEmailUser = sysEmailUser;
	}
	
	/**
	 * @return the sysEmailPassword
	 */
	@Column(name = "SYS_EMAIL_PASSWORD", nullable = false)
	public String getSysEmailPassword() {
		return sysEmailPassword;
	}
	
	/**
	 * @param sysEmailPassword the sysEmailPassword to set
	 */
	public void setSysEmailPassword(String sysEmailPassword) {
		this.sysEmailPassword = sysEmailPassword;
	}
	
	/**
	 * @return the sysEmailAuth
	 */
	@Column(name = "SYS_EMAIL_AUTH", nullable = false)
	public String getSysEmailAuth() {
		return sysEmailAuth;
	}
	
	/**
	 * @param sysEmailAuth the sysEmailAuth to set
	 */
	public void setSysEmailAuth(String sysEmailAuth) {
		this.sysEmailAuth = sysEmailAuth;
	}
	
	/**
	 * @return the sysEmailTlsEnable
	 */
	@Column(name = "SYS_EMAIL_TLS_ENABLE", nullable = false)
	public String getSysEmailTlsEnable() {
		return sysEmailTlsEnable;
	}
	
	/**
	 * @param sysEmailTlsEnable the sysEmailTlsEnable to set
	 */
	public void setSysEmailTlsEnable(String sysEmailTlsEnable) {
		this.sysEmailTlsEnable = sysEmailTlsEnable;
	}
	
	/**
	 * @return the sysEmailHost
	 */
	@Column(name = "SYS_EMAIL_HOST", nullable = false)
	public String getSysEmailHost() {
		return sysEmailHost;
	}
	
	/**
	 * @param sysEmailHost the sysEmailHost to set
	 */
	public void setSysEmailHost(String sysEmailHost) {
		this.sysEmailHost = sysEmailHost;
	}
	
	/**
	 * @return the sysEmailPort
	 */
	@Column(name = "SYS_EMAIL_PORT", nullable = false)
	public Integer getSysEmailPort() {
		return sysEmailPort;
	}
	
	/**
	 * @param sysEmailPort the sysEmailPort to set
	 */
	public void setSysEmailPort(Integer sysEmailPort) {
		this.sysEmailPort = sysEmailPort;
	}
	
	/**
	 * @return the sysEncodeType
	 */
	@Column(name = "SYS_ENCODE_TYPE", nullable = false)
	public Integer getSysEncodeType() {
		return sysEncodeType;
	}
	
	/**
	 * @param sysEncodeType the sysEncodeType to set
	 */
	public void setSysEncodeType(Integer sysEncodeType) {
		this.sysEncodeType = sysEncodeType;
	}
	
	/**
	 * @return the sysLogLevel
	 */
	@Column(name = "SYS_LOG_LEVEL", nullable = false)
	public String getSysLogLevel() {
		return sysLogLevel;
	}
	
	/**
	 * @param sysLogLevel the sysLogLevel to set
	 */
	public void setSysLogLevel(String sysLogLevel) {
		this.sysLogLevel = sysLogLevel;
	}
}
